Copyright ã1995 by NeXT Computer, Inc.  All Rights Reserved.

Determining the Panel Interface

- setBecomeKeyOnlyIfNeeded:(BOOL)flag	Sets whether Panel waits to become key window

- (BOOL)doesBecomeKeyOnlyIfNeeded	Returns whether Panel waits to become key window

- setFloatingPanel:(BOOL)flag	Sets whether the Panel floats above other windows

- (BOOL)isFloatingPanel	Returns whether the Panel floats above other windows

- setWorksWhenModal:(BOOL)flag	Sets whether the Panel can operate on an attention panel

- (BOOL)worksWhenModal	Returns whether Panel can operate on an attention panel

Pasteboard

Inherits From:	Object

Creating and Freeing a Pasteboard

+ new	Returns the selection Pasteboard object

+ newName:(const char *)name	Returns the Pasteboard object named name

+ newUnique	Creates a uniquely named Pasteboard

- free	Releases the Pasteboard object's storage

- freeGlobally	Frees the object and the domain for its name

Getting Data in Different Formats

+ newByFilteringFile:(const char *)filename	Creates a pasteboard with all types for filename

+ newByFilteringData:(NXData *)data 	Creates a pasteboard with all types for data
ofType:(const char *)type

+ newByFilteringTypesInPasteboard:	Creates a pasteboard with all types filterable
(Pasteboard *)pboard	from pboard

+ (NXAtom *)typesFilterableTo:	Returns all types type can be filtered to
(const char *)type

Referring to a Pasteboard by Name

+ newName:(const char *)name	Returns the Pasteboard object named name

- (const char *)name	Returns the Pasteboard object's name

Writing Data

- declareTypes:(const char *const *)newTypes	Sets data types and owner of the Pasteboard
num:(int)numTypes
owner:newOwner

- (int)addTypes:(const char *const *)newTypes	Addsdata types to the pasteboard
num:(int)numTypes 
owner:newOwner

- writeType:(const char *)dataType	Writes theData to the pasteboard server
data:(const char *)theData
length:(int)numBytes

- writeType:(const char *)dataType	Writes stream data to the pasteboard server
fromStream:(NXStream *)stream

- (BOOL)writeFileContents:	Writesdata from filename to the pasteboard server
(const char *)filename

Discerning Types

- (const NXAtom *)types	Returns an array of the Pasteboard's data types

- (const char *)findAvailableTypeFrom:	Returns first type in types that matches a pasteboard 
(const char *const *)types		type

Reading Data

- (int)changeCount	Returns the Pasteboard's change count

- readType:(const char *)dataType	Reads data from the pasteboard server
data:(char **)theData
length:(int *)numBytes

- (NXStream *)readTypeToStream:	Returns a stream to pasteboard data
(const char *)dataType

- (char *)readFileContentsType:	Writes pasteboard data to a file
(const char *)type
toFile:(const char *)filename

- deallocatePasteboardData:(char *)data	Deallocates data received from the pasteboard
length:(int)numBytes

Methods Implemented by the Owner

- pasteboard:sender 	Implemented to write promised data to sender as type
provideData:(NXAtom)type

- pasteboardChangedOwner:sender 	Notifies prior owner that ownership changed

PopUpList

Inherits From:	Menu : Panel : Window : Responder : Object

Initializing a PopUpList

- init	Initializes a new PopUpList

Setting Up the Items

- addItem:(const char *)title	Adds an item with title as its title to the end of the list

- insertItem:(const char *)title	Inserts an item with title as its title at position index
at:(unsigned int)index

- removeItem:(const char *)title	Removes the item matching title

- removeItemAt:(unsigned int)index	Removes the item at the specified index

- (int)indexOfItem:(const char *)title	Returns the index of the item matching title

- (unsigned int)count	Returns the number of items in the list

Interacting with the Trigger Button

- changeButtonTitle:(BOOL)flag	Sets whether the PopUpList is a pop-up or a pull-down list

- getButtonFrame:(NXRect *)bFrame	Gets the size needed for the Button that pops up the list

Activating the PopUpList

- popUp:trigger	Pops the list up over trigger

Returning the User's Selection

- (const char *)selectedItem	Returns the title of selected item

Modifying the Items

- setFont:fontObject	Sets the Font used to draw the items

- font	Returns the Font used to draw the items

Target and Action

- setAction:(SEL)aSelector	Sets the PopUpList's action method to aSelector

- (SEL)action	Returns the PopUpList's action method

- setTarget:anObject	Sets the PopUpList's target object to anObject

- target	Returns the PopUpList's target object

Resizing the PopUpList

- sizeWindow:(NXCoord)width :(NXCoord)height	Resizes the PopUpList to width, height

PrintInfo

Inherits From:	Object

Initializing and Freeing a PrintInfo Instance

- init	Initializes the PrintInfo instance after it's allocated

- free	Deallocates the PrintInfo object

Defining the Printing Rectangle

- setMarginLeft:(NXCoord)leftMargin	Sets the margins
right:(NXCoord)rightMargin
top:(NXCoord)topMargin
bottom:(NXCoord)bottomMargin

- getMarginLeft:(NXCoord *)leftMargin	Returns the margins by reference
right:(NXCoord *)rightMargin
top:(NXCoord *)topMargin
bottom:(NXCoord *)bottomMargin

- setOrientation:(char)mode	Sets the orientation as portrait or landscape
andAdjust:(BOOL)flag

- (char)orientation	Returns the orientation is portrait or landscape

- setPaperRect:(const NXRect *)aRect	Sets the width and height of the paper
andAdjust:(BOOL)flag

- (const NXRect *)paperRect	Returns the rectangle for the paper size

- setPaperType:(const char *)type	Sets the paper type
andAdjust:(BOOL)flag

- (const char *)paperType	Returns the paper type

Page Range

- setFirstPage:(int)anInt	Sets the page number of first page to be printed

- (int)firstPage	Returns the page number of the first page to be printed

- setLastPage:(int)anInt	Sets the page number of last page to be printed

- (int)lastPage	Returns the page number of the last page to be printed

- setAllPages:(BOOL)flag	Sets whether all the pages are to be printed

- (BOOL)isAllPages	Returns whether all the pages are to be printed

- (int)currentPage	Returns the page number of the page being printed

Pagination and Scaling

- setHorizPagination:(int)mode	Sets the horizontal pagination mode

- (int)horizPagination	Returns the horizontal pagination mode

- setVertPagination:(int)mode	Sets the vertical pagination mode

- (int)vertPagination	Returns the vertical pagination mode

- setScalingFactor:(float)aFloat	Sets the scaling factor

- (float)scalingFactor	Returns the scaling factor

Positioning the Image on the Page

- setHorizCentered:(BOOL)flag	Sets whether the image is centered horizontally

- (BOOL)isHorizCentered	Returns whether the image is centered horizontally

- setVertCentered:(BOOL)flag	Sets whether the image is centered vertically

- (BOOL)isVertCentered	Returns whether the image is centered vertically

- setPagesPerSheet:(short)aShort	Sets the number of pages printed per sheet of paper

- (short)pagesPerSheet	Returns the number of pages printed per sheet of paper

Print Job Attributes

- initializeJobDefaults	Invoked automatically to initialize printing defaults

- setJobFeature:(const char *)feature 	Sets the value of the given printing job feature
toValue:(const char *)value

- (const char *)valueForJobFeature:(const char *)feature

	Returns the value for the given printing job feature

- removeJobFeature:(const char *)key	Removes the given printing job feature

- (const char **)jobFeatures	Returns the keys to the job features table

- setPageOrder:(char)mode	Sets the order in which pages will be printed

- (char)pageOrder	Returns the order in which pages will be printed

- setReversePageOrder:(BOOL)flag	Sets whether the page order is reversed

- (BOOL)reversePageOrder	Returns whether the page order is reversed 

- setCopies:(int)anInt	Sets the number of copies to be printed

- (int)copies	Returns the number of copies to be printed

- setPaperFeed:(const char *)paperFeedSlot	Sets the paper feed slot used during printing

- (const char *)paperFeed	Returns the paper feed slot used during printing

Specifying the Printer

+ setDefaultPrinter:(NXPrinter *)printer	Sets the user's default printer

+ (NXPrinter *)getDefaultPrinter	Returns the user's default printer

- setPrinter:(NXPrinter *)aPrinter	Sets the printer that's used in subsequent printing jobs

- (NXPrinter *)printer	Returns the NXPrinter that's used for printing

Spooling

- setOutputFile:(const char *)aString	Sets the output file for printing

- (const char *)outputFile	Returns the output file for printing

- setContext:(DPSContext)aContext	Sets the DPS context used for printing 

- (DPSContext)context	Returns the DPS context used for printing

Archiving

- read:(NXTypedStream *)stream	Reads the PrintInfo from the typed stream

- write:(NXTypedStream *)stream	Writes the PrintInfo to the typed stream

PrintPanel

Inherits From:	Panel : Window : Responder : Object

Creating and Freeing a PrintPanel

+ new	Returns a default PrintPanel object

+ newContent:(const NXRect *)contentRect	Returns a PrintPanel object
style:(int )aStyle
backing:(int )bufferingType
buttonMask:(int )mask
defer:(BOOL )flag

- free	Deallocates the PrintPanel

Customizing the PrintPanel

- setAccessoryView:aView	Adds a View to the panel

- accessoryView	Returns the accessory View

Running the Panel

- (int)runModal	Displays the Print panel and begins its event loop

- pickedButton:sender	Stops the event loop

Updating the Panel's Display

- pickedAllPages:sender	Updates the panel when the user chooses all pages

- (BOOL)textWillChange:textObject	Updates the panel when user types pages to print

Communicating with the PrintInfo Object

- updateFromPrintInfo	Reads PrintPanel's values from the PrintInfo object

- finalWritePrintInfo	Writes PrintPanel's values to the PrintInfo object

Responder

Inherits From:	Object

Managing the NeXT Responder

- setNextResponder:aResponder	Makes aResponder the receiver's next responder

- nextResponder	Returns the receiver's next responder

Determining the First Responder

- (BOOL)acceptsFirstResponder	Returns NO to refuse first responder status

- becomeFirstResponder	Notifies the receiver it's the first responder

- resignFirstResponder	Notifies the receiver it's not the first responder

Aiding Event Processing

- (BOOL)performKeyEquivalent:(NXEvent *)theEvent
	Returns NO to indicate theEvent isn't handled

- (BOOL)tryToPerform:(SEL)anAction	Aids in dispatching action messages
with:anObject

Forwarding Event Messages

- mouseDown:(NXEvent *)theEvent	Passes the message to the receiver's next responder

- rightMouseDown:(NXEvent *)theEvent	Passes the message to the receiver's next responder

- mouseDragged:(NXEvent *)theEvent	Passes the message to the receiver's next responder

- rightMouseDragged:(NXEvent *)theEvent	Passes the message to the receiver's next responder

- mouseUp:(NXEvent *)theEvent	Passes the message to the receiver's next responder

- rightMouseUp:(NXEvent *)theEvent	Passes the message to the receiver's next responder

- mouseMoved:(NXEvent *)theEvent	Passes the message to the receiver's next responder

- mouseEntered:(NXEvent *)theEvent	Passes the message to the receiver's next responder

- mouseExited:(NXEvent *)theEvent	Passes the message to the receiver's next responder

- keyDown:(NXEvent *)theEvent	Passes the message to the receiver's next responder

- keyUp:(NXEvent *)theEvent	Passes the message to the receiver's next responder

- flagsChanged:(NXEvent *)theEvent	Passes the message to the receiver's next responder

- noResponderFor:(const char *)eventType	Prints warning message to syslog if debugging

Services Menu Support

- validRequestorForSendType:(NXAtom)typeSent
andReturnType:(NXAtom)typeReturned	Implemented by subclasses to determine available services

Archiving

- read:(NXTypedStream *)stream	Reads the Responder from the typed stream stream

- write:(NXTypedStream *)stream	Writes the Responder to the typed stream stream

SavePanel

Inherits From:	Panel : Window : Responder : Object

Creating and Freeing a SavePanel

+ newContent:(const NXRect *)contentRect	Creates and returns a SavePanel object
style:(int)aStyle
backing:(int)bufferingType
buttonMask:(int)mask
defer:(BOOL)flag

- free	Deallocates the SavePanel

Setting the SavePanel Class

+ setSavePanelFactory:class	Sets class for initializing an SavePanel

Customizing the SavePanel

- setAccessoryView:aView	Adds application-customized view to the panel

- accessoryView	Returns the application-customized view

- setTitle:(const char *)title	Sets the title of the SavePanel to title

- setPrompt:(const char *)prompt	Sets the title of the file name form field

Setting Directory and File Type

- setDirectory:(const char *)path	Sets the current directory of the SavePanel

- setRequiredFileType:(const char *)type	Sets the required file type (if any)

- (const char *)requiredFileType	Gets the required file type (if any)

Running the SavePanel

- (int)runModalForDirectory:(const char *)path	Displays the SavePanel and begins its event loop
file:(const char *)name 

- (int)runModal	Displays the SavePanel and begins its event loop

Reading Save Information

- (const char *)directory	Returns directory chosen file resides in

- (const char *)filename	Returns full name of file to be saved

Completing a Partial Filename

- (BOOL)commandKey:(NXEvent *)theEvent	Enables command-space to do filename completion

Target and Action Methods

- ok:sender	Method invoked by the OK button

- cancel:sender	Method invoked by the Cancel button

Responding to User Input

- selectText:sender	Called when TAB is pressed in the form

- textDidEnd:textObject	Determines whether TAB or BACKTAB was pressed
endChar:(unsigned short)endChar

- textDidGetKeys:textObj isEmpty:(BOOL)flag	Determines whether there's any text in the form

Setting the Delegate

- setDelegate:anObject 	Makes anObject the SavePanel's delegate

Methods implemented by the Delegate

- (int)panel:sender 	Returns 1 if filename1 precedes filename2, -1 in the 
compareFilenames:(const char *)fileName1		opposite case, 0 if the two are equivalent
:(const char *)fileName2
checkCase:(BOOL)flag

- (BOOL)panel:sender	YES if filename can be saved in directory
filterFile:(const char *)filename
inDirectory:(const char *)directory

- (BOOL)panelValidateFilenames:sender	YES if the filename is acceptable to the delegate

Scroller

Inherits From:	 Control : View : Responder : Object

Initializing a Scroller

- initFrame:(const NXRect *)frameRect	Initializes a new Scroller

Laying out the Scroller

- (NXRect *)calcRect:(NXRect *)aRect	Gets the rectangle that encloses partCode
forPart:(int)partCode

- checkSpaceForParts	Checks for room for knob and scroll buttons

- setArrowsPosition:(int)where	Sets position of scroll buttons in Scroller

Setting Scroller values

- (float)floatValue	Returns Scroller's float value

- setFloatValue:(float)aFloat	Sets value; positions knob

- setFloatValue:(float)aFloat :(float)percent	Sets value; positions and sizes knob

Resizing the Scroller

- sizeTo:(NXCoord)width :(NXCoord)height	Sizes the Scroller

Displaying

- drawArrow:(BOOL)whichButton :(BOOL)flag	Draws highlighted and unhighlighted arrows

- drawKnob	Draws the knob

- drawParts	Caches Bitmaps for knob and scroll arrows

- drawSelf:(const NXRect *)rects :(int)rectCount	Draws the Scroller

- highlight:(BOOL)flag	Highlights scroll button that's under mouse

Target and Action

- setAction:(SEL)aSelector	Sets the Scroller's action to aSelector

- (SEL)action	Returns the Scroller's action

- setTarget:anObject	Sets the Scroller's target to anObject

- target	Returns the Scroller's target

Handling Events

- (BOOL)acceptsFirstMouse	Makes the Scroller respond to the first mouse event

- (int)hitPart	Returns Scroller part that received mouse-down

- mouseDown:(NXEvent *)theEvent	Responds to mouse-down events

- (int)testPart:(const NXPoint *)thePoint	Returns Scroller part that's under thePoint

- trackKnob:(NXEvent *)theEvent	Responds to mouse-down events on the knob

- trackScrollButtons:(NXEvent *)theEvent	Responds to mouse-down events on buttons

Archiving

- awake	Ensures that Scroller's Bitmaps are created

- read:(NXTypedStream *)stream	Reads the Scroller from the typed stream

- write:(NXTypedStream *)stream	Writes the Scroller to the typed stream

ScrollView

Inherits From:	View : Responder : Object

Initializing a ScrollView

- initFrame:(const NXRect *)frameRect	Initializes a new ScrollView

Determining Component Sizes

- getContentSize:(NXSize *)contentViewSize	Gets the content view's size

- getDocVisibleRect:(NXRect *)aRect	Gets the visible portion of the document view

Laying Out the ScrollView

+ getContentSize:(NXSize *)cSize	Gets the content view size for the given ScrollView size
forFrameSize:(const NXSize *)fSize
horizScroller:(BOOL)hFlag
vertScroller:(BOOL)vFlag
borderType:(int)aType

+ getFrameSize:(NXSize *)fSize	Gets the ScrollView size for the given content view size
forContentSize:(const NXSize *)cSize
horizScroller:(BOOL)hFlag
vertScroller:(BOOL)vFlag
borderType:(int)aType

- resizeSubviews:(const NXSize *)oldSize	Retiles the ScrollView after a sizeTo::

- setHorizScrollerRequired:(BOOL)flag	Makes space for a horizontal scroller

- setVertScrollerRequired:(BOOL)flag	Makes space for a vertical scroller

- tile	Retiles the scrollers and content view

Managing Component Views

- setDocView:aView	Makes aView the ScrollView's document view

- docView	Returns the current document view

- setHorizScroller:anObject	Sets the horizontal Scroller object

- horizScroller	Returns the horizontal Scroller

- setVertScroller:anObject	Sets the vertical Scroller object

- vertScroller	Returns the vertical Scroller

- reflectScroll:cView	Updates the Scrollers

Modifying Graphic Attributes

- setBorderType:(int)aType	Determines the border type of the ScrollView

- (int)borderType	Returns the border type

- setBackgroundColor:(NXColor)color	Sets the ScrollView's background color

- (NXColor) backgroundColor	Returns the ScrollView's background color

- setBackgroundGray:(float)value	Sets the ScrollView's background gray

- (float)backgroundGray	Returns the ScrollView's background gray

Setting Scrolling Behavior

- setCopyOnScroll:(BOOL)flag	Sets how newly exposed areas are redrawn

- setDisplayOnScroll:(BOOL)flag	Sets how the doc view is displayed during scrolling

- setDynamicScrolling:(BOOL)flag	Sets how the doc view is displayed during scrolling

- setLineScroll:(float)value	Sets the amount to scroll when scrolling a line

- setPageScroll:(float)value	Sets the amount of overlap for a page scroll

Displaying

- drawSelf:(const NXRect *)rects :(int)rectCount	Draws the ScrollView

Managing the Cursor

- setDocCursor:anObj	Sets the cursor for the document view

Archiving

- read:(NXTypedStream *)stream	Reads the ScrollView from the typed stream

- write:(NXTypedStream *)stream	Writes the ScrollView to the typed stream

SelectionCell

Inherits From:	Cell : Object

Creating a SelectionCell

- init	Initializes a new SelectionCell with ªListItemº as its title

- initTextCell:(const char *)aString	Initializes a new SelectionCell with aString as its title

Determining Component Sizes

- calcCellSize:(NXSize *)theSize	Calculates the size of the SelectionCell within aRect
inRect:(const NXRect *)aRect

Accessing Graphic Attributes

- setLeaf:(BOOL)flag	Sets whether SelectionCell is a leaf or a branch

- (BOOL)isLeaf	Returns whether the SelectionCell is a leaf or a branch

- (BOOL)isOpaque	Returns YES, since SelectionCells are opaque

Displaying

- drawSelf:(const NXRect *)cellFrame	Draws the SelectionCell in cellFrame within aView
inView:aView

- drawInside:(const NXRect *)cellFrame	Draws the inside of the SelectionCell in aView
inView:aView

- highlight:(const NXRect *)cellFrame	Highlights the SelectionCell within cellFrame in
inView:aView		 controlView
lit:(BOOL)flag

Archiving

- awake	Reinitializes the SelectionCell when it's unarchived

Slider

Inherits From:	Control : View : Responder : Object

Setting Slider's Cell Class

+ setCellClass:classId	Sets the subclass of SliderCell used by Slider

Initializing a new Slider

- initFrame:(const NXRect *)frameRect	Initializes a new Slider in frameRect

Modifying a Slider's appearance

- setKnobThickness:(NXCoord)aFloat	Sets the knob's thickness to aFloat

- (NXCoord)knobThickness	Returns the knob's thickness

- setImage:image	Sets the background image to image

- image	Returns the background image

- setTitle:(const char *)aString	Sets the background title to a copy of aString

- setTitleNoCopy:(const char *)aString	Sets the background title to aString

- (const char *)title	Returns the background title

- setTitleCell:aCell	Sets the Cell used to draw the background title

- titleCell	Returns the Cell used to draw the background title

- setTitleFont:fontObject	Sets the Font used to draw the background title

- titleFont	Returns the Font used to draw the background title

- setTitleColor:(NXColor)aColor	Sets the color of text in the background title to aColor

- (NXColor)titleColor	Returns the color of text in the background title

- setTitleGray:(float)aFloat	Sets the gray of text in the background title to aFloat

- (float)titleGray	Returns the gray of text in the background title

- (int)isVertical	Returns 1 if vertical, 0 if horizontal, -1 if unknown

Setting Value Limits

- setMinValue:(double)aDouble	Sets the Slider's minimum value to aDouble

- (double)minValue	Returns the Slider's minimum value

- setMaxValue:(double)aDouble	Sets the Slider's maximum value to aDouble

- (double)maxValue	Returns the Slider's maximum value

Resizing the Slider

- sizeToFit	Modifies the Slider's size to fit its Cell

Handling Events

- (BOOL)acceptsFirstMouse	Returns YES, since Sliders always accept first mouse

- setEnabled:(BOOL)flag	Sets whether the Slider reacts to events

- mouseDown:(NXEvent *)theEvent	Responds to mouse-down by initiating tracking

SliderCell

Inherits From:	ActionCell : Cell : Object

Initializing a new SliderCell

- init	Initializes a new SliderCell

Determining Component Sizes

- calcCellSize:(NXSize *)theSize	Returns the size of the SliderCell
inRect:(const NXRect *)aRect

- getKnobRect:(NXRect*)knobRect	Gets the rectangle the knob will be drawn in
flipped:(BOOL)flipped

Setting Value Limits

- setMinValue:(double)aDouble	Sets the SliderCell's minimum value to aDouble

- (double)minValue	Returns the SliderCell's minimum value

- setMaxValue:(double)aDouble	Sets the maximum value of the SliderCell to aDouble

- (double)maxValue	Returns the SliderCell's maximum value

Setting Values

- setDoubleValue:(double)aDouble	Sets the SliderCell's value to aDouble

- (double)doubleValue	Returns the SliderCell's value as a double

- setFloatValue:(float)aFloat	Sets the SliderCell's value to aFloat

- (float)floatValue	Returns the SliderCell's value as a float

- setIntValue:(int)anInt	Sets the SliderCell's value to anInt

- (int)intValue	Returns SliderCell's value as an int

- setStringValue:(const char *)aString	Sets the SliderCell's value to a number represented by aString

- (const char *)stringValue	Returns the SliderCell's value as a string

Modifying Graphic Attributes

- setKnobThickness:(NXCoord)aFloat	Sets the knob's thickness to aFloat

- (NXCoord)knobThickness	Returns the knob's thickness

- setImage:image	Sets the background image to image

- image	Returns the background image

- setTitle:(const char *)aString	Sets the background title to a copy of aString

- setTitleNoCopy:(const char *)aString	Sets the background title to aString

- (const char *)title	Returns the background title

- setTitleCell:aCell	Sets the Cell used to draw the background title

- titleCell	Returns the Cell used to draw the background title

- setTitleFont:fontObject	Sets the Font used to draw the background title

- titleFont	Returns the Font used to draw the background title

- setTitleColor:(NXColor)aColor	Sets the color of text in the background title to aColor

- (NXColor)titleColor	Returns the color of text in the background title

- setTitleGray:(float)aFloat	Sets the gray of text in the background title to aFloat

- (float)titleGray	Returns the gray of text in the background title

- (BOOL)isOpaque	Returns YES (SliderCells are always opaque)

- (int)isVertical	Returns 1 if vertical, 0 if horizontal, -1 if unknown

Displaying the SliderCell

- drawSelf:(const NXRect *)cellFrame	Draws the SliderCell's bar and knob in controlView
inView:controlView

- drawInside:(const NXRect *)cellFrame	Draws the inside of the SliderCell in controlView
inView:controlView

- drawBarInside:(const NXRect *)aRect	Draws the SliderCell's bar
flipped:(BOOL)flipped

- drawKnob	Draws the SliderCell's knob

- drawKnob:(const NXRect*)knobRect	Draws the SliderCell's knob in knobRect

Modifying Behavior

- setEnabled:(BOOL)flag	Sets whether the SliderCell reacts to events

- setContinuous:(BOOL)flag	Sets whether the Slider is continuous

- (BOOL)isContinuous	Returns whether the Slider is continuous

- setAltIncrementValue:(double)incValue	Sets how far the SliderCell moves when the knob is dragged one pixel with the Alternate key held down

- (double)altIncrementValue	Returns how far the SliderCell moves when alt-dragged

Tracking the Mouse

+ (BOOL)prefersTrackingUntilMouseUp	Returns YES, since SliderCells must track even when the mouse leaves their bounds

- (BOOL)trackMouse:(NXEvent *)theEvent	Tracks the mouse
inRect:(const NXRect *)cellFrame
ofView:controlView

- (BOOL)startTrackingAt:(const NXPoint *)startPoint
inView:controlView	Begins a tracking session

- (BOOL)continueTracking:(const NXPoint *)lastPoint
at:(const NXPoint *)currentPoint	Continues tracking the mouse
inView:controlView

- stopTracking:(const NXPoint *)lastPoint	Ends the current tracking session
at:(const NXPoint *)stopPoint
inView:controlView
mouseIsUp:(BOOL)flag

Archiving

- read:(NXTypedStream *)stream	Reads the SliderCell from stream

- write:(NXTypedStream *)stream	Writes the SliderCell to stream

- awake	Caches knob icons when the SliderCell is unarchived

Speaker

Inherits From:	 Object

Initializing a New Speaker Instance

- init	Initializes the Speaker after it has been allocated

Freeing a Speaker

- free	Deallocates the Speaker (but not its ports)

Setting Up a Speaker

- setSendTimeout:(int)ms	Sets how long to wait for messages to be delivered

- (int)sendTimeout	Returns how long to wait for messages to be delivered

- setReplyTimeout:(int)ms	Sets how long Speaker will wait for a reply

- (int)replyTimeout	Returns how long Speaker will wait for a reply

Managing the Ports

- setSendPort:(port_t)aPort	Makes aPort the port messages will be sent to

- (port_t)sendPort	Returns the port the Speaker will send messages to

- setReplyPort:(port_t)aPort	Makes aPort the port where replies are received

- (port_t)replyPort	Returns the port where Speaker receives replies

Standard Remote Methods

- (int)openFile:(const char *)fullPath	Sends a remote message to open fullPath file
ok:(int *)flag

- (int)openTempFile:(const char *)fullPath	Sends a remote message to open fullPath file
ok:(int *)flag

Providing for Program Control

- (int)msgCalc:(int *)flag	Sends message to update the current window

- (int)msgCopyAsType:(const char *)aType	Sends message to copy selection as aType data
ok:(int *)flag

- (int)msgCutAsType:(const char *)aType	Sends message to cut selection as aType data
ok:(int *)flag

- (int)msgDirectory:(char *const *)fullPath	Sends message requesting the current directory
ok:(int *)flag

- (int)msgFile:(char *const *)fullPath	Sends message requesting the current document
ok:(int *)flag

- (int)msgPaste:(int *)flag	Sends message to paste data from pasteboard

- (int)msgPosition:(char *const *)aString	Sends message requesting selection information
posType:(int *)anInt
ok:(int *)flag

- (int)msgPrint:(const char *)fullPath	Sends message to print fullPath file
ok:(int *)flag

- (int)msgQuit:(int *)flag	Sends remote message for application to quit

- (int)msgSelection:(char *const *)bytes	Sends message requesting the current selection
length:(int *)numBytes
asType:(const char *)aType
ok:(int *)flag

- (int)msgSetPosition:(const char *)aString	Sends message to scroll so aString is visible
posType:(int)anInt
andSelect:(int)sflag
ok:(int *)flag

- (int)msgVersion:(char *const *)aString	Sends message requesting version information
ok:(int *)flag

Sending Remote Messages

- (int)performRemoteMethod:(const char *)methodName
	Sends remote methodName message

- (int)performRemoteMethod:(const char *)methodName
with:(const char *)data	Sends remote message with numBytes of data
length:(int)numBytes

- (int)selectorRPC:(const char *)methodName	Sends remote message with variable arguments
paramTypes:(char *)params,

- (int)sendOpenFileMsg:(const char *)fullPath	Sends an openFile:ok: remote message
ok:(int *)flag
andDeactivateSelf:(BOOL)deactivateFirst

- (int)sendOpenTempFileMsg:(const char *)fullPath
ok:(int *)flag	Sends an openTempFile:ok: remote message
andDeactivateSelf:(BOOL)deactivateFirst

Assigning a Delegate

- setDelegate:anObject	Makes anObject the Speaker's delegate

- delegate	Returns the Speaker's delegate

Archiving

- read:(NXTypedStream *)stream	Reads the Speaker from stream

- write:(NXTypedStream *)stream	Writes the Speaker to stream

Text

Inherits From:	View : Responder : Object

Conforms To:	NXChangeSpelling
NXIgnoreMisspelledWords
NXReadOnlyTextStream
NXSelectText

Initializing the Class Object

+ setDefaultFont:anObject	Makes anObject the default Font object for Text

+ getDefaultFont	Returns the default Font object for Text

+ excludeFromServicesMenu:(BOOL)flag	Controls whether Text objects register for services

+ registerDirective:(const char *)directive	Associates an RTF control word with a class object
forClass:class

+ initialize	Performed automatically at startup

Initializing a New Text Object

- initFrame:(const NXRect *)frameRect	Initialize a new Text object

- initFrame:(const NXRect *)frameRect	Initialize a new Text object
text:(const char *)theText
alignment:(int)mode

Freeing a Text Object

- free	Frees the Text object and its storage

Modifying the Frame Rectangle

- setMaxSize:(const NXSize *)newMaxSize	Sets maximum size of the Text object

- getMaxSize:(NXSize *)theSize	Gets maximum size of the Text object

- setMinSize:(const NXSize *)newMinSize	Sets minimum size of the Text object

- getMinSize:(NXSize *)theSize	Gets minimum size of the Text object

- setVertResizable:(BOOL)flag	Sets whether frame height can change

- (BOOL)isVertResizable	Returns whether frame height can change

- setHorizResizable:(BOOL)flag	Sets whether frame width can change

- (BOOL)isHorizResizable	Returns whether frame width can change

- sizeTo:(NXCoord)width :(NXCoord)height	Resizes the Text object to width and height

- sizeToFit	Resizes the frame to accommodate the text

- resizeText:(const NXRect *)oldBounds	Used by Text object to resize and redisplay itself
:(const NXRect *)maxRect

- moveTo:(NXCoord)x :(NXCoord)y	Moves the Text object to (x, y)

Laying Out the Text

- setMarginLeft:(NXCoord)leftMargin	Adjusts margins around the text
right:(NXCoord)rightMargin
top:(NXCoord)topMargin
bottom:(NXCoord)bottomMargin

- getMarginLeft:(NXCoord *)leftMargin	Gets dimensions of margins around the text
right:(NXCoord *)rightMargin
top:(NXCoord *)topMargin
bottom:(NXCoord *)bottomMargin

- getMinWidth:(NXCoord *)width	Calculates area needed to display the text
minHeight:(NXCoord *)height
maxWidth:(NXCoord)widthMax
maxHeight:(NXCoord)heightMax

- setAlignment:(int)mode	Sets how text is aligned at margins

- (int)alignment	Returns how text is aligned at margins

- alignSelLeft:sender	Aligns the text to the left margin

- alignSelCenter:sender	Aligns the text between the margins

- alignSelRight:sender	Aligns the text to the right margin

- setSelProp:(NXParagraphProp)prop	Sets the paragraph style for one or more paragraphs
to:(NXCoord)val

- changeTabStopAt:(NXCoord)oldX	Resets the position of the specified tab stop
to:(NXCoord)newX

- (int)calcLine	Calculates line breaks

- setCharWrap:(BOOL)flag	Returns whether extra long words are wrapped

- (BOOL)charWrap	Sets whether extra long words are wrapped

- setNoWrap	Disables word wrap

- setParaStyle:(void *)paraStyle	Sets paragraph style for the entire text

- (void *)defaultParaStyle	Returns the default paragraph style

- (void *)calcParagraphStyle:fontId	Recalculates paragraph style
:(int)alignment

- setLineHeight:(NXCoord)value	Sets height of a line of text

- (NXCoord)lineHeight	Returns height of a line of text

- setDescentLine:(NXCoord)value	Sets distance from base line to bottom of line

- (NXCoord)descentLine	Returns distance from base line to bottom of line

Reporting Line and Position

- (int)lineFromPosition:(int)position	Converts character position to line number

- (int)positionFromLine:(int)line	Converts line number to character position

- (int)offsetFromPosition:(int)position	Returns the byte offset corresponding to position

- (int)positionFromOffset:(int)offset	Returns the position corresponding to the byte offset

Setting, Reading, and Writing the Text

- setText:(const char *)aString	Replaces current text with aString

- readText:(NXStream *)stream	Replaces current text with text from stream

- startReadingRichText	Sent before Text object begins reading RTF data

- readRichText:(NXStream *)stream	Replaces text with RTF data from stream

- readRichText:(NXStream *)stream	Lets you add RTF data to stream
atPosition:(int)position

- finishReadingRichText	Sent after Text object reads RTF data

- (NXRTFDError)openRTFDFrom:(const char *)path
	Opens the RTFD file package specified by path

- (NXRTFDError)saveRTFDTo:(const char *)path
removeBackup:(BOOL)removeBackup	Saves the contents (text and images) of the Text object
errorHandler:errorHandler		to the file package specified by path

- writeText:(NXStream *)stream	Writes all the text to stream

- writeRichText:(NXStream *)stream	Writes all the text to stream using RTF

- writeRichText:(NXStream *)stream	Writes text to stream using RTF
from:(int)start
to:(int)end

- writeRTFDSelectionTo:(NXStream *)stream	Writes the selectionÐtext and imagesÐto stream

- writeRTFDTo:(NXStream *)stream	Writes all the text and images to stream 

- (NXStream *)stream	Returns stream access to Text object's text

- (NXTextBlock *)firstTextBlock	Returns pointer to first text block

- getParagraph:(int)prNumber	Gets position, length, and size of a paragraph
start:(int *)startPos
end:(int *)endPos
rect:(NXRect *)paragraphRect

- (int)getSubstring:(char *)buf	Copies numChars at startPos to buf
start:(int)startPos
length:(int)numChars

- (int)byteLength	Returns length of the Text object's contents in bytes

- (int)charLength	Returns number of characters in the text

- (int)textLength	Returns number of characters in the text

Setting Editability

- setEditable:(BOOL)flag	Sets whether the text can be edited

- (BOOL)isEditable	Returns whether the text can be edited

Allowing Multiple Fonts and Paragraph Styles

- setMonoFont:(BOOL)flag	Controls whether multiple fonts and parastyles are OK

- (BOOL)isMonoFont	Returns whether only one font and parastyle is permitted 

Editing the Text

- copy:sender	Copies selected text to the pasteboard

- copyFont:sender	Copies selected text's font to the pasteboard

- copyRuler:sender	Copies selected text's style to the pasteboard

- paste:sender	Replaces selection with pasteboard's contents

- pasteFont:sender	Replaces selection's font with pasteboard's contents

- pasteRuler:sender	Replaces selection's style with pasteboard's contents

- cut:sender	Deletes selected text; copies it to pasteboard

- delete:sender	Deletes selected text

- clear:sender	Deletes selected text

- selectAll:sender	Makes receiver the first responder; selects all text

- selectText:sender	Makes receiver the first responder; selects all text

Managing the Selection

- subscript:sender	Subscripts the current selection

- superscript:sender	Superscripts the current selection

- unscript:sender	Removes sub/super script in the current selection

- underline:sender	Toggles the underline attribute of text

- showCaret	Displays the previously hidden caret

- hideCaret	Removes the caret from the text display

- setSelectable:(BOOL)flag	Sets whether the text can be selected

- (BOOL)isSelectable	Returns whether the text can be selected

- selectError	Selects all the text

- selectNull	Deselects the current selection

- setSel:(int)start :(int)end	Selects text from start through end

- getSel:(NXSelPt *)start :(NXSelPt *)end	Gets start and end of the selection

- replaceSel:(const char *)aString	Replaces the selection with aString

- replaceSel:(const char *)aString	Replaces selection with length bytes of aString
length:(int)length

- replaceSel:(const char *)aString	Replaces selection with length bytes of aString
length:(int)length
runs:(NXRunArray *)insertRuns

- replaceSelWithRichText:(NXStream *)stream	Replaces selection with RTF from stream

- replaceSelWithRTFD:(NXStream *)stream	Replaces selection with RTFD data from stream

- scrollSelToVisible	Brings the selection within the frame rectangle

Setting the Font

- setFontPanelEnabled:(BOOL)flag	Sets whether the Font panel can affect text

- (BOOL)isFontPanelEnabled	Sets whether the Font panel can affect text

- changeFont:sender	Changes font of selection

- setFont:fontObj	Sets Font object for the entire text

- font	Returns a monofont Text object's font

- setFont:fontObj paraStyle:(void *)paraStyle	Sets Font and paragraph style for all text

- setSelFont:fontId	Sets Font object for the selection

- setSelFontFamily:(const char *)fontName	Sets font family for the selection

- setSelFontSize:(float)size	Sets font size for the selection

- setSelFontStyle:(NXFontTraitMask)traits	Sets font style for the selection

- setSelFont:fontId paraStyle:(void *)paraStyle	Sets font and paragraph style for the selection

Checking Spelling

- checkSpelling:sender	Searches for a misspelled word in the text

- showGuessPanel:sender	Displays panel suggesting spelling corrections

Managing the Ruler

- toggleRuler:sender	Controls the display of the ruler

- (NXColor)isRulerVisible	Returns whether the ruler is visible in the superview

Finding Text

- (BOOL)findText:(const char *)string	Searches for string in the text, starting at the insertion point
ignoreCase:(BOOL)ignoreCaseFlag
backwards:(BOOL)backwardsFlag
wrap:(BOOL)wrapFlag

Modifying Graphic Attributes

- setBackgroundGray:(float)value	Sets the gray value of the text background

- (float)backgroundGray	Returns the gray value of the text background

- setBackgroundColor:(NXColor)color	Sets background color of the text

- (NXColor)backgroundColor	Returns the background color of the text

- setSelGray:(float)value	Sets the gray value of the selected text

- (float)selGray	Returns the gray value of the selected text

- (float)runGray:(NXRun *)run	Returns the gray value for the specified text run

- setSelColor:(NXColor)color	Sets the color of the selected text

- (NXColor)selColor	Returns the color of the selected text

- (NXColor)runColor:(NXRun *)run	Returns the color of the specified text run

- setTextGray:(float)value	Sets the gray value of the entire text

- (float)textGray	Returns the gray value of the entire text

- setTextColor:(NXColor)color	Sets the text color of the entire text

- (NXColor)textColor	Returns the text color of the draw entire text

Reusing a Text Object

- renewFont:newFontId	Resets Text object to draw different text
text:(const char *)newText
frame:(const NXRect *)newFrame
tag:(int)newTag

- renewFont:(const char *)newFontName	Resets Text object to draw different text
size:(float)newFontSize
style:(int)newFontStyle
text:(const char *)newText
frame:(const NXRect *)newFrame
tag:(int)newTag

- renewRuns:(NXRunArray *)newRuns	Resets Text object to draw different text
text:(const char *)newText
frame:(const NXRect *)newFrame
tag:(int)newTag

- windowChanged:newWindow	Hides caret whenever the Text's window changes

Displaying

- drawSelf:(const NXRect *)rects :(int)rectCount	Draws the Text object

- setRetainedWhileDrawing:(BOOL)flag	Allows use of retained window when drawing

- (BOOL)isRetainedWhileDrawing	Returns whether retained window is used for drawing

Assigning a Tag

- setTag:(int)anInt	Makes anInt the Text object's tag

- (int)tag	Returns the Text object's tag

Handling Event Messages

- (BOOL)acceptsFirstResponder	Returns whether receiver can be the first responder

- becomeFirstResponder	Informs Text object that it's becoming first responder

- resignFirstResponder	Stops being the first responder, if delegate agrees

- becomeKeyWindow	Activates caret if selection has width of 0

- resignKeyWindow	Deactivates the caret

- mouseDown:(NXEvent *)theEvent	Responds to mouse-down events

- keyDown:(NXEvent *)theEvent	Responds to key-down events

- moveCaret:(unsigned short)theKey	Moves the caret in response to arrow keys

Displaying Graphics within the Text

+ registerDirective:(const char *)directive	Associates an RTF control word with a class object
forClass:class

- replaceSelWithCell:cell	Replaces selection with image provided by cell

- replaceSelWithView:view	Unimplemented

- setLocation:(NXPoint *)origin	Sets origin of cell
ofCell:cell

- getLocation:(NXPoint *)origin	Places coordinates of graphic object into origin
ofCell:cell

- getLocation:(NXPoint *)origin	Unimplemented
ofView:view

- setGraphicsImportEnabled:(BOOL)flag	Sets whether a Text object imports TIFF and EPS images

- (BOOL)isGraphicsImportEnabled	Returns YES if the object imports TIFF and EPS images

Using the Services Menu

+ excludeFromServicesMenu:(BOOL)flag	Controls whether Text objects use services menu

- validRequestorForSendType:(NXAtom)sendType
andReturnType:(NXAtom)returnType	Determines which Service menu items are enabled

- readSelectionFromPasteboard:pboard	Replaces selection with data from pboard

- (BOOL)writeSelectionToPasteboard:pboard	Copies selection to pboard
types:(NXAtom *)types

Setting Tables and Functions

- setCharFilter:(NXCharFilterFunc)aFunc	Makes aFunc the character filter function

- (NXCharFilterFunc)charFilter	Returns the current character filter function

- setTextFilter:(NXTextFilterFunc)aFunc	Makes aFunc the text filter function

- (NXTextFilterFunc)textFilter	Returns the current text filter function

- setBreakTable:(const NXFSM *)aTable	Sets table defining word boundaries

- (const NXFSM *)breakTable	Gets table defining word boundaries

- setPreSelSmartTable:(const unsigned char *)aTable
	Sets cut and paste table for left word boundary

- (const unsigned char *)preSelSmartTable	Gets cut and paste table for left word boundary

- setPostSelSmartTable:(const unsigned char *)aTable
	Sets cut and paste table for right word boundary

- (const unsigned char *)postSelSmartTable	Gets cut and paste table for right word boundary

- setCharCategoryTable:(const unsigned char *)aTable
	Sets table defining character categories

- (const unsigned char *)charCategoryTable	Returns table defining character categories

- setClickTable:(const NXFSM *)aTable	Sets table defining double-click selection

- (const NXFSM *)clickTable	Gets table defining double-click selection

- setScanFunc:(NXTextFunc)aFunc	Makes aFunc the scan function

- (NXTextFunc)scanFunc	Returns the current scan function

- setDrawFunc:(NXTextFunc)aFunc	Makes aFunc the function that draws the text

- (NXTextFunc)drawFunc	Returns the current draw function

Printing

- adjustPageHeightNew:(float *)newBottom	Assists automatic pagination of text
top:(float)oldTop
bottom:(float)oldBottom
limit:(float)bottomLimit

Archiving

- read:(NXTypedStream *)stream	Reads the Text object from the typed stream

- write:(NXTypedStream *)stream	Writes the Text object to the typed stream

Assigning a Delegate

- setDelegate:anObject	Makes anObject the Text object's delegate

- delegate	Returns the Text object's delegate

Implemented by the Delegate

- textWillResize:sender	Informs delegate of impending size change

- textDidResize:sender	Reports size change to delegate
oldBounds:(const NXRect *)oldBounds
invalid:(NXRect *)invalidRect

- (BOOL)textWillChange:sender	Informs delegate of impending text change

- textDidChange:sender	Alerts delegate to change in text

- (BOOL)textWillEnd:sender	Warns of impending loss of first responder status

- textDidEnd:sender	Reports to delegate loss of first responder status
endChar:(unsigned short)whyEnd

- textDidGetKeys:sender isEmpty:(BOOL)flag	Informs delegate of each text change

- textWillSetSel:sender toFont:font	Lets delegate intercede in the updating of the Font panel

- textWillConvert:sender	Lets delegate intercede in selection's font change
fromFont:from
toFont:to

- textWillStartReadingRichText:sender	Informs delegate that Text object will read RTF data

- textWillFinishReadingRichText:sender	Informs delegate that Text finished reading RTF data

- textWillWrite:sender	Lets the delegate specify paper size
paperSize:(NXSize *)paperSize

- textDidRead:sender	Lets the delegate review paper size
paperSize:(NXSize *)paperSize

Implemented by an Embedded Graphic Object

- calcCellSize:(NXSize *)theSize	Provides the size of the object

- drawSelf:(const NXRect *)rect	Draws the object
inView:view

- highlight:(const NXRect *)rect	Highlights or unhighlights the object
inView:view 
lit:(BOOL)flag

- readRichText:(NXStream *)stream	Reads representation from RTF data
forView:view

- writeRichText:(NXStream *)stream	Writes RTF representation to stream 
forView:view

- (BOOL)trackMouse:(NXEvent *)theEvent	Controls tracking of the mouse 
inRect:(const NXRect *)rect 
ofView:view

TextField

Inherits From:	Control : View : Responder : Object

Initializing the TextField Class

+ setCellClass:classId	Sets the Cell class used by TextField

Inializing a new TextField

- initFrame:(const NXRect *)frameRect	Initializes a new TextField object with no text

Enabling the TextField

- setEnabled:(BOOL)flag	Sets whether the TextField reacts to events

Setting User Access to Text

- setSelectable:(BOOL)flag	Sets whether the TextField's text is selectable

- (BOOL)isSelectable	Returns whether the TextField's text is selectable

- setEditable:(BOOL)flag	Sets whether the TextField's text is editable

- (BOOL)isEditable	Returns whether the TextField's text is editable

Editing Text

- selectText:sender	Selects all of the text if it's selectable or editable

Setting Tab Key Behavior

- setNextText:anObject	Sets the object selected when the user presses Tab

- nextText	Sets the object selected when the user presses Tab

- setPreviousText:anObject	Sets the object selected when the user types Shift-Tab

- previousText	Sets the object selected when the user types Shift-Tab

Assigning a Text Delegate

- setTextDelegate:anObject	Sets the delegate for messages from the field editor

- textDelegate	Returns the delegate for messages from field editor

Text Object Delegate Methods

- (BOOL)textWillChange:textObject	Responds to a message from the field editor

- textDidGetKeys:textObject	Responds to a message from the field editor
isEmpty:(BOOL)flag

- textDidChange:textObject	Responds to a message from the field editor

- (BOOL)textWillEnd:textObject	Responds to a message from the field editor

- textDidEnd:textObject	Responds to a message from the field editor
endChar:(unsigned short)whyEnd

Modifying Graphic Attributes

- setTextColor:(NXColor)aColor	Sets the color of the TextField's text to aColor

- (NXColor)textColor	Returns the color of the TextField's text

- setTextGray:(float)value	Sets the gray of the TextField's text to value

- (float)textGray	Returns the gray of the TextField's text

- setBackgroundColor:(NXColor)aColor	Sets the color of the background to aColor

- (NXColor)backgroundColor	Returns the color of the background

- setBackgroundGray:(float)value	Sets the gray of the background to value

- (float)backgroundGray	Returns the gray of the background

- setBackgroundTransparent:(BOOL)flag	Sets whether the TextField background is transparent

- (BOOL)isBackgroundTransparent	Returns whether the TextField background is transparent

- setBezeled:(BOOL)flag	Sets whether the TextField has a bezeled border

- (BOOL)isBezeled	Returns whether the TextField has a bezeled border

- setBordered:(BOOL)flag	Sets whether the TextField has a plain border

- (BOOL)isBordered	Returns whether the TextField has a plain border

Target and Action

- setErrorAction:(SEL)aSelector	Sets the action method sent for an invalid value entered

- (SEL)errorAction	Returns the action method sent for an invalid value

Resizing a TextField

- sizeTo:(float)width :(float)height	Resizes the TextField to width and height

Handling Events

- (BOOL)acceptsFirstResponder	Returns YES if text is editable or selectable

- mouseDown:(NXEvent *)theEvent	Responds to a mouse-down event

Archiving

- read:(NXTypedStream *)stream	Reads the TextField from stream

- write:(NXTypedStream *)stream	Writes the TextField to stream

TextFieldCell

Inherits From:	ActionCell : Cell : Object

Initializing a new TextFieldCell

- init	Initializes a new TextFieldCell with text ªFieldº

- initTextCell:(const char *)aString	Initializes a new TextFieldCell with text aString

Copying a TextFieldCell

- copyFromZone:(NXZone *)zone	Returns a copy of the TextFieldCell allocated from zone

Modifying Graphic Attributes

- setTextColor:(NXColor)aColor	Sets the color of the text to aColor

- (NXColor)textColor	Returns the color of the text

- setTextGray:(float)value	Sets the gray of the text to value

- (float)textGray	Returns the gray of the text

- setBackgroundColor:(NXColor)aColor	Sets the color of the background to aColor

- (NXColor)backgroundColor	Returns the color of the background

- setBackgroundGray:(float)value	Sets the gray of the background to value

- (float)backgroundGray	Returns the gray of the background

- setBackgroundTransparent:(BOOL)flag	Sets whether the background is transparent

- (BOOL)isBackgroundTransparent	Returns whether the background is transparent

- setTextAttributes:textObject	Sets the gray values of the background and text to those of textObject

- setBezeled:(BOOL)flag	Sets whether TextFieldCell has a bezeled border

- (BOOL)isOpaque	Returns whether the cell is opaque

Displaying

- drawSelf:(const NXRect *)cellFrame	Draws the TextFieldCell
inView:controlView

- drawInside:(const NXRect *)cellFrame	Draws the inside of the TextFieldCell
inView:controlView

Tracking the Mouse

- (BOOL)trackMouse:(NXEvent *)theEvent	Starts editing if possible
inRect:(const NXRect *)aRect
ofView:controlView

Archiving

- read:(NXTypedStream *)stream	Reads the TextFieldCell from stream

- write:(NXTypedStream *)stream	Writes the TextFieldCell to stream

View

Inherits From:	Responder : Object

Initializing and Freeing View Objects

- initFrame:(const NXRect *)frameRect	Initializes a new View object

- init	Initializes a new View object

- free	Deallocates the View and its subviews

Managing the View Hierarchy

- addSubview:aView	Makes aView a subview of the receiving View

- addSubview:aView	Makes aView a subview of the receiving View
:(int)place
relativeTo:otherView

- findAncestorSharedWith:aView	Returns the ancestor shared by aView and the receiver

- (BOOL)isDescendantOf:aView	Returns whether aView is an ancestor of the receiver

- opaqueAncestor	Returns the receiver's nearest opaque ancestor

- removeFromSuperview	Removes the receiver from the view hierarchy

- replaceSubview:oldView with:newView	Replaces oldView with newView

- subviews	Returns a List of the View's subviews

- superview	Returns the receiving View's superview

- window	Returns the Window in which the View is displayed

- windowChanged:newWindow	Notifies the View that the Window it's in is changing

Modifying the Frame Rectangle

- (float)frameAngle	Returns the angle of frame rectangle rotation

- getFrame:(NXRect *)theRect	Gets the View's frame rectangle

- moveBy:(NXCoord)deltaX :(NXCoord)deltaY	Moves the View by deltaX and deltaHeight

- moveTo:(NXCoord)x :(NXCoord)y	Moves the View to (x, y)

- rotateBy:(NXCoord)deltaAngle	Rotates the View's frame rectangle by deltaAngle

- rotateTo:(NXCoord)angle	Rotates the View's frame rectangle to angle

- setFrame:(const NXRect *)frameRect	Assigns the View a new frame rectangle

- sizeBy:(NXCoord)deltaWidth	Resizes the View by deltaWidth and deltaHeight
:(NXCoord)deltaHeight

- sizeTo:(NXCoord)width :(NXCoord)height	Resizes the View to width and height

Modifying the Coordinate System

- (float)boundsAngle	Returns the rotation of the View's coordinate system

- drawInSuperview	Makes the View use its superview's coordinate system

- getBounds:(NXRect *)theRect	Gets the View's bounds rectangle

- (BOOL)isFlipped	Returns whether the View is flipped

- (BOOL)isRotatedFromBase	Returns whether the View is rotated

- (BOOL)isRotatedOrScaledFromBase	Returns whether the View is rotated or scaled

- rotate:(NXCoord)angle	Rotates the View's coordinate system by angle

- setDrawRotation:(NXCoord)angle	Rotates the View's coordinate system to angle

- scale:(NXCoord)x :(NXCoord)y	Scales the View's coordinate system

- setDrawSize:(NXCoord)width :(NXCoord)height
	Resizes the View's coordinate system to width and height

- translate:(NXCoord)x :(NXCoord)y	Shifts the View's coordinate system to (x, y)

- setDrawOrigin:(NXCoord)x :(NXCoord)y	Sets the View's origin to (x, y)

- setFlipped:(BOOL)flag	Sets whether polarity of y-axis is reversed

Converting Coordinates

- centerScanRect:(NXRect *)aRect	Converts the rectangle to lie on center of pixels

- convertPoint:(NXPoint *)aPoint	Converts the point to the receiver's coordinates
fromView:aView

- convertPoint:(NXPoint *)aPoint toView:aView	Converts the point to aView's coordinates

- convertPointFromSuperview:(NXPoint *)aPoint
	Converts the point to the receiver's coordinates

- convertPointToSuperview:(NXPoint *)aPoint	Converts the point to the superview's coordinates

- convertRect:(NXRect *)aRect fromView:aView
	Converts the rectangle to the receiver's coordinates

- convertRect:(NXRect *)aRect toView:aView	Converts the rectangle to aView's coordinates

- convertRectFromSuperview:(NXRect *)aRect	Converts the rectangle to the receiver's coordinates

- convertRectToSuperview:(NXRect *)aRect	Converts the rectangle to the superview's coordinates

- convertSize:(NXSize *)aSize fromView:aView	Converts the size to the receiver's coordinates

- convertSize:(NXSize *)aSize toView:aView	Converts the size to aView's coordinates

Notifying Ancestor Views

- descendantFlipped:sender	Notifies that sender's y-axis has flipped

- descendantFrameChanged:sender	Notifies that sender's frame rectangle changed

- notifyAncestorWhenFrameChanged:(BOOL)flag
	Sets whether to notify ancestors of frame change

- notifyWhenFlipped:(BOOL)flag	Sets whether to notify ancestors of flipped y-axis

- suspendNotifyAncestorWhenFrameChanged:(BOOL)flag
	Suspends ancestor notification

Resizing Subviews

- resizeSubviews:(const NXSize *)oldSize	Initiates superviewSizeChanged: messages

- setAutoresizeSubviews:(BOOL)flag	Sets whether to notify subviews of resizing

- setAutosizing:(unsigned int)mask	Determines automatic resizing behavior

- (unsigned int)autosizing	Returns the View's autosizing mask 

- superviewSizeChanged:(const NXSize *)oldSize	Notifies subviews that superview changed size

Graphics State Objects

- allocateGState	Allocates a graphics state object (when next focused upon)

- freeGState	Frees the View's graphics state object

- (int)gState	Returns the View's graphics state object

- initGState	Initializes the View's graphics state object

- renewGState	Reinitializes the View's graphics state object

- notifyToInitGState:(BOOL)flag	Determines whether initGState message is sent

Focusing

- clipToFrame:(const NXRect *)frameRect	Clips to the frame rectangle during focusing

- setClipping:(BOOL)flag	Sets whether the View is clipped to its frame rectangle

- (BOOL)doesClip	Returns whether the View clips to its frame rectangle

- (BOOL)isFocusView	Returns whether the View is currently in focus

- (BOOL)lockFocus	Brings the View into focus

- unlockFocus	Unfocuses the View

Displaying

- (BOOL)canDraw	Returns whether the View can draw

- display	Displays the View and its subviews

- display:(const NXRect *)rects :(int)rectCount	Displays the View and its subviews

- display:(const NXRect *)rects	Displays the View and its subviews
:(int)rectCount
:(BOOL)clipFlag

- displayFromOpaqueAncestor:(const NXRect *)rects
:(int)rectCount	Displays underlying ancestors and the View
:(BOOL)clipFlag

- displayIfNeeded	Conditionally displays  the View and its subviews

- drawSelf:(const NXRect *)rects :(int)rectCount	Implemented by subclasses to supply drawing instructions

- (BOOL)getVisibleRect:(NXRect *)theRect	Gets the View's visible portion

- (BOOL)isAutodisplay	Returns whether the View automatically updates

- setAutodisplay:(BOOL)flag	Determines whether update redisplays the View

- (BOOL)isOpaque	Returns whether the View is registered as opaque

- setOpaque:(BOOL)flag	Registers the View as opaque

- (BOOL)needsDisplay	Returns whether the View needs to be redisplayed

- setNeedsDisplay:(BOOL)flag	Marks the View as changed, needing redisplay

- (BOOL)shouldDrawColor	Returns whether the View should be drawn in color

- update	Conditionally redisplays the View

Scrolling

- adjustScroll:(NXRect *)newVisible	Lets the View adjust the visible rectangle

- autoscroll:(NXEvent *)theEvent	Scrolls in response to a mouse-dragged event

- (BOOL)calcUpdateRects:(NXRect *)rects	Calculates the area to be redisplayed
:(int *)rectCount
:(NXRect *)enclRect
:(NXRect *)goodRect

- invalidate:(const NXRect *)rects :(int)rectCount
	Marks parts of the View as needing to be redrawn

- scrollPoint:(const NXPoint *)aPoint	Aligns aPoint with the content view's origin

- scrollRect:(const NXRect *)aRect	Shifts the rectangle by delta
by:(const NXPoint *)delta

- scrollRectToVisible:(const NXRect *)aRect	Scrolls the View so the rectangle is visible

- (float)backgroundGray	Returns the View's background gray (used by a ScrollView's document view only)

Managing the Cursor

- addCursorRect:(const NXRect *)aRect	Adds a cursor rectangle to the View
cursor:anObj

- discardCursorRects	Removes all cursor rectangles in the View

- removeCursorRect:(const NXRect *)aRect	Removes a cursor rectangle from the View
cursor:anObj

- resetCursorRects	Resets the View's cursor rectangles

Assigning a Tag

- findViewWithTag:(int)aTag	Returns the subview with aTag as its tag

- (int)tag	Returns the View's tag

Aiding Event Handling

- (BOOL)acceptsFirstMouse	Returns NO to refuse first mouse-down event

- hitTest:(NXPoint *)aPoint	Returns the lowest subview containing the point

- (BOOL)mouse:(NXPoint *)aPoint	Returns whether the point lies inside the rectangle
inRect:(NXRect *)aRect

- (BOOL)performKeyEquivalent:(NXEvent *)theEvent
	Returns whether a subview handled theEvent

- (BOOL)shouldDelayWindowOrderingForEvent:(NXEvent *)anEvent
	Returns whether the View's Window is brought forward normally (mouse-down) or delayed (mouse-up) 

Dragging

- registerForDraggedTypes:(const char *const *)pbTypes count:(int)count

	Registers the Pasteboard types that the Window will accept in an image-dragging session

- unregisterDraggedTypes	Unregisters the Window as a recipient of dragged images

- dragImage:anImage	Instigates an image-dragging session
at:(NXPoint *)location
offset:(NXPoint *)initialOffset
event:(NXEvent *)event
pasteboard:(Pasteboard *)pboard
source:sourceObject
slideBack:(BOOL)slideFlag

- dragFile:(const char *)filename	Instigates a file-dragging session
fromRect:(NXRect *)rect
slideBack:(BOOL) aFlag
event:(NXEvent *)event

Printing

- printPSCode:sender	Prints the View and its subviews

- faxPSCode:sender	Faxes the View and its subviews

- faxPSCode:sender	Faxes the View and its subviews
toList:(const char *const *)names
numberList:(const char *const *)numbers 
sendAt:(time_t)time
wantsCover:(BOOL)coverFlag
wantsNotify:(BOOL)notifyFlag 
wantsHires:(BOOL)hiresFlag 
faxName:(const char *)string

- copyPSCodeInside:(const NXRect *)rect	Generates PostScript code for the rectangle
to:(NXStream *)stream

- writePSCodeInside:(const NXRect *)rect	Places PostScript code for the rectangle on the pasteboard
to:pasteboard

- openSpoolFile:(char *)filename	Opens filename for print spooling

- spoolFile:(const char *)filename	Spools filename to the printer

- (BOOL)canPrintRIB	Indicates whether the View can print RIB files

Setting Up Pages

- (BOOL)knowsPagesFirst:(int *)firstPageNum	Returns whether the View paginates itself
last:(int *)lastPageNum

- (BOOL)getRect:(NXRect *)theRect	Provides how much of the View will print on page
forPage:(int)page

- placePrintRect:(const NXRect *)aRect	Locates the printing rectangle on the page
offset:(NXPoint *)location

- (float)heightAdjustLimit	Returns how much of a page can go on the next page

- (float)widthAdjustLimit	Returns how much of a page can go on the next page

Writing Conforming PostScript

- beginPSOutput	Initializes the printing environment

- beginPrologueBBox:(const NXRect *)boundingBox
creationDate:(const char *)dateCreated	Writes the beginning of the prologue for a print job
createdBy:(const char *)anApplication
fonts:(const char *)fontNames
forWhom:(const char *)user
pages:(int)numPages
title:(const char *)aTitle

- endHeaderComments	Writes the end of the header

- endPrologue	Writes the end of the prologue

- beginSetup	Writes the beginning of the document setup section

- endSetup	Writes the end of the document setup section

- adjustPageWidthNew:(float *)newRight	Assists automatic pagination of the View
left:(float)oldLeft
right:(float)oldRight
limit:(float)rightLimit

- adjustPageHeightNew:(float *)newBottom	Assists automatic pagination of the View
top:(float)oldTop
bottom:(float)oldBottom
limit:(float)bottomLimit

- beginPage:(int)ordinalNum	Writes a page separator
label:(const char *)aString
bBox:(const NXRect *)pageRect
fonts:(const char *)fontNames

- beginPageSetupRect:(const NXRect *)aRect	Writes the beginning of a page setup section
placement:(const NXPoint *)location

- drawSheetBorder:(float)width :(float)height	Allows you to draw a sheet border

- drawPageBorder:(float)width :(float)height	Allows you to draw a page border

- addToPageSetup	Allows you to add scaling to PostScript code

- endPageSetup	Writes the end of a page setup section

- endPage	Writes the end of a page

- beginTrailer	Writes the beginning of the trailer for the print job

- endTrailer	Writes the end of the trailer

- endPSOutput	Finishes the printing job

Archiving

- awake	Initializes the View after reading

- read:(NXTypedStream *)stream	Reads the View from the typed stream

- write:(NXTypedStream *)stream	Writes the View to the typed stream

Window

Inherits From:	Responder : Object

Initializing a New Window Object

- init	Initializes the new Window with default parameters

- initContent:(const NXRect *)contentRect	Initializes the new Window object as specified
style:(int)aStyle
backing:(int)bufferingType
buttonMask:(int)mask
defer:(BOOL)flag

- initContent:(const NXRect *)contentRect	Initializes the new Window object for screen as specified
style:(int)aStyle
backing:(int)bufferingType
buttonMask:(int)mask
defer:(BOOL)flag
screen:(const NXScreen *)aScreen

Freeing a Window Object

- free	Frees the Window object and its Views

Computing Frame and Content Rectangles

+ getFrameRect:(NXRect *)frame	Gets frame rectangle for given content rectangle
forContentRect:(const NXRect *)content
style:(int)aStyle

+ getContentRect:(NXRect *)content	Gets content rectangle for given frame rectangle
forFrameRect:(const NXRect *)frame
style:(int)aStyle

+ (NXCoord)minFrameWidth:(const char *)aTitle
forStyle:(int)aStyle 	Returns minimum frame width needed for aTitle
buttonMask:(int)aMask

Accessing the Frame Rectangle

- getFrame:(NXRect *)theRect	Gets the Window's frame rectangle

- getFrame:(NXRect *)theRect	Gets the Window's frame rectangle and screen
andScreen:(const NXScreen **)theScreen

- (BOOL)setFrameUsingName:(const char *)name
	Sets the frame rectangle from the named default

- (void)saveFrameUsingName:(const char *)name	Saves the frame rectangle as a system default

+ (void)removeFrameUsingName:(const char *)name
	Removes the named frame data from the system defaults

- (BOOL)setFrameAutosaveName:(const char *)name
	Sets the name that's used to autosave the frame rectangle as a system default

- (const char *)frameAutosaveName	Returns the name that's used to autosave the frame rectangle as a system default

- (void)setFrameFromString:(const char *)string	Sets the frame rectangle from string

- saveFrameToString:(const char *)string	Saves the frame rectangle data to string

Accessing the Content View 

- setContentView:aView	Makes aView the Window's content view

- contentView	Returns the Window's content view

Querying Window Attributes

- (int)windowNum	Returns the window number

- (int)buttonMask	Returns the mask identifying Window controls

- (int)style	Returns the Window's border and title bar style

- (BOOL)worksWhenModal	Returns NO

Window Graphics

- setTitle:(const char *)aString	Makes aString the Window's title

- setTitleAsFilename:(const char *)aString	Formats aString and makes it the Window's title

- (const char *)title	Returns the Window's title string

- setBackgroundColor:(NXColor)color	Sets the Window's background color to color

- (NXColor)backgroundColor	Returns the Window's background color

- setBackgroundGray:(float)value	Sets the gray value for Window's background gray

- (float)backgroundGray	Returns the Window's background gray

Window Device Attributes

- setBackingType:(int)backing	Sets the type of window device backing

- (int)backingType	Returns the window device backing type 

- setOneShot:(BOOL)flag	Sets whether memory for the window should be freed

- (BOOL)isOneShot	Returns whether memory for the window is freed

- setFreeWhenClosed:(BOOL)flag	Sets whether closing the Window also frees it

Graphics State Objects

- (int)gState	Returns the graphics state object for the Window

The Miniwindow

- counterpart	Returns the receiver's miniwindow/Window companion

- setMiniwindowIcon:(const char *)name	Sets the icon that's displayed in the miniwindow

- (const char *)miniwindowIcon	Returns the icon that's displayed in the miniwindow

- setMiniwindowImage:image	Sets the image that's displayed in the miniwindow 

- (NXImage *)miniwindowImage	Returns the image that's displayed in the miniwindow

- setMiniwindowTitle:(const char *)title	Sets the title that's displayed in the miniwindow

- (const char *)miniwindowTitle	Sets the title that's displayed in the miniwindow

The Field Editor

- getFieldEditor:(BOOL)flag for:anObject	Returns the Window's field editor

- endEditingFor:anObject	Ends the field editor's editing assignment

Window Status

- makeKeyWindow	Makes the receiver the key window

- makeKeyAndOrderFront:sender	Makes Window the key window and brings it forward

- becomeKeyWindow	Records Window's new status as the key window

- (BOOL)isKeyWindow	Returns whether Window is the key window

- resignKeyWindow	Records that Window no longer is the key window

- (BOOL)canBecomeKeyWindow	Returns whether Window can be the key window

- becomeMainWindow	Records Window's new status as the main window

- (BOOL)isMainWindow	Returns whether Window is the main window

- resignMainWindow	Records that Window no longer is the main window

- (BOOL)canBecomeMainWindow	Returns whether Window can be the main window

Moving and Resizing the Window

- moveTo:(NXCoord)x :(NXCoord)y	Moves the Window to (x, y)

- moveTo:(NXCoord)x	Moves the Window to (x, y) relative to aScreen
:(NXCoord)y
screen:(const NXScreen *)aScreen

- moveTopLeftTo:(NXCoord)x :(NXCoord)y	Moves top left corner of the Window to (x, y)

- moveTopLeftTo:(NXCoord)x	Moves top left corner of the Window relative to aScreen
:(NXCoord)y
screen:(const NXScreen *)aScreen

- dragFrom:(float)x :(float)y eventNum:(int)num	Lets user drag the Window from (x, y)

- constrainFrameRect:(NXRect *)frameRect	Constrains the Window to screen
toScreen:(const NXScreen *)screen

- placeWindow:(const NXRect *)frameRect	Resizes the Window to new frame rectangle

- placeWindow:(const NXRect *)frameRect	Resizes the Window relative to aScreen
screen:(const NXScreen *)aScreen

- placeWindowAndDisplay:(const NXRect *)frameRect
	Resizes the Window while redisplaying its Views

- sizeWindow:(NXCoord)width :(NXCoord)height
	Resizes the Window's content area

- center	Centers the Window on the screen

- setMinSize:(const NXSize *)aSize	Sets the Window's minimum size

- getMinSize:(NXSize *)aSize	Returns the Window's minimum size

- setMaxSize:(const NXSize *)aSize	Sets the Window's maximum size

- getMaxSize:(NXSize *)aSize	Returns the Window's maximum size

- (int)resizeFlags	Returns the event flags during resizing

Reordering the Window

- makeKeyAndOrderFront:sender	Makes the Window the key window and brings it forward

- orderFront:sender	Puts the Window at the front of its tier

- orderBack:sender	Puts the Window at the back of its tier

- orderOut:sender	Removes the Window from the screen list

- orderWindow:(int)place relativeTo:(int)otherWin
	Repositions the Window in screen list

- orderFrontRegardless	Puts the Window at the front even if the application is inactive

- (BOOL)isVisible	Returns whether the Window is in the screen list

- setHideOnDeactivate:(BOOL)flag	Sets whether deactivization hides the Window

- (BOOL)doesHideOnDeactivate	Returns whether deactivization hides the Window

Converting Coordinates

- convertBaseToScreen:(NXPoint *)aPoint	Converts point from base to screen coordinates

- convertScreenToBase:(NXPoint *)aPoint	Converts point from screen to base coordinates

Managing the Display

- display	Displays all the Window's Views

- displayIfNeeded	Displays all the Window's Views that need it

- disableDisplay	Inhibits Views from drawing in the Window

- (BOOL)isDisplayEnabled	Returns whether Views can draw in the Window

- reenableDisplay	Reenables drawing by Views in the Window

- flushWindow	Flushes the Window's buffer to the screen

- flushWindowIfNeeded	Conditionally flushes the Window's buffer to the screen

- disableFlushWindow	Disables flushing for a buffered Window

- reenableFlushWindow	Reenables flushing for a buffered Window

- (BOOL)isFlushWindowDisabled	Returns whether flushing is disabled

- displayBorder	Displays the border and title bar

- useOptimizedDrawing:(BOOL)flag	Sets whether Window's Views should optimize drawing

- update	Implemented by subclasses (see Menu)

Screens and Window Depths

- (const NXScreen *)screen	Returns the screen that (most of) the Window is on

- (const NXScreen *)bestScreen	Returns the deepest screen that the Window is on

+ (NXWindowDepth)defaultDepthLimit	Returns the maximum depth for the current context

- setDepthLimit:(NXWindowDepth)limit	Sets the Window's depth limit to limit

- (NXWindowDepth)depthLimit	Returns the Window's depth limit

- setDynamicDepthLimit:(BOOL)flag	Sets whether the depth limit will depend on the screen

- (BOOL)hasDynamicDepthLimit	Returns whether the depth limit depends on the screen

- (BOOL)canStoreColor	Returns whether Window is deep enough to store colors

Cursor Management

- addCursorRect:(const NXRect *)aRect	Adds a new cursor rectangle to the Window
cursor:anObject
forView:aView

- removeCursorRect:(const NXRect *)aRect	Removes a cursor rectangle from the Window
cursor:anObject
forView:aView

- invalidateCursorRectsForView:aView	Marks cursor rectangles invalid for aView

- disableCursorRects	Disables all cursor rectangles in the Window

- enableCursorRects	Enables cursor rectangles in the Window

- discardCursorRects	Removes all cursor rectangles in the Window

- resetCursorRects	Resets cursor rectangles for the Window

Handling User Actions and Events

- close	Closes the Window

- performClose:sender	Simulates user clicking the close button

- miniaturize:sender	Hides the Window and displays its miniwindow

- performMiniaturize:sender	Simulates user clicking the miniaturize button

- deminiaturize:sender	Hides the miniwindow and redisplays the Window

- setDocEdited:(BOOL)flag	Sets whether the Window's document has been edited

- (BOOL)isDocEdited	Returns whether Window's document has been edited

- windowExposed:(NXEvent *)theEvent	Redisplays exposed part of the Window

- windowMoved:(NXEvent *)theEvent	Updates the frame rectangle

- screenChanged:(NXEvent *)theEvent	Adjusts depth limit of Windows with a dynamic limit

Setting the Event Mask

- (int)setEventMask:(int)newMask	Sets the Window's event mask to newMask

- (int)addToEventMask:(int)newEvents	Adds newEvents to the event mask

- (int)removeFromEventMask:(int)oldEvents	Removes oldEvents from the event mask

- (int)eventMask	Returns the Window's event mask

Aiding Event Handling

- getMouseLocation:(NXPoint *)thePoint	Provides current location of the cursor

- setTrackingRect:(const NXRect *)aRect	Sets a tracking rectangle within the Window
inside:(BOOL)insideFlag
owner:anObject
tag:(int)trackNum
left:(BOOL)leftDown
right:(BOOL)rightDown

- discardTrackingRect:(int)trackNum	Clears tracking rectangle within the Window

- makeFirstResponder:aResponder	Makes aResponder the first responder

- firstResponder	Returns the first responder

- sendEvent:(NXEvent *)theEvent	Dispatches mouse and keyboard events

- rightMouseDown:(NXEvent *)theEvent	Handles right mouse-down events

- (BOOL)commandKey:(NXEvent *)theEvent	Handles Command key-down events

- (BOOL)tryToPerform:(SEL)anAction	Aids in dispatching action messages
with:anObject

- setAvoidsActivation:(BOOL)flag	Establishes whether the application will become active when the user clicks in the Window

- (BOOL)avoidsActivation	Returns the value set by setAvoidsActivation:

Dragging

- registerForDraggedTypes:(const char *const *)pbTypes count:(int)count
	Registers the Pasteboard types that the Window will accept in an image-dragging session

- unregisterDraggedTypes	Unregisters the Window as a recipient of dragged images

- dragImage:anImage	Instigates an image-dragging session
at:(NXPoint *)location
offset:(NXPoint *)initialOffset
event:(NXEvent *)event
pasteboard:(Pasteboard *)pboard
source:sourceObject
slideBack:(BOOL)slideFlag

Services and Windows Menu Support

- validRequestorForSendType:(NXAtom)typeSent	Invoked by clicking a Services menu item
andReturnType:(NXAtom)typeReturned

- setExcludedFromWindowsMenu:(BOOL)flag	Sets whether Window is left out of the Windows menu

- (BOOL)isExcludedFromWindowsMenu	Returns whether Window is left out of Windows menu

Printing

- printPSCode:sender	Prints all the Window's Views

- smartPrintPSCode:sender	Prints all the Window's Views

- faxPSCode:sender	Faxes all the Window's Views

- smartFaxPSCode:sender	Faxes all the Window's Views

- openSpoolFile:(char *)filename	Opens filename for print spooling

- spoolFile:(const char *)filename	Spools filename to the printer

- copyPSCodeInside:(const NXRect *)rect	Writes PostScript code for the rectangle to stream
to:(NXStream *)stream

- (BOOL)knowsPagesFirst:(int *)firstPageNum	Returns whether the Window paginates itself
last:(int *)lastPageNum

- (BOOL)getRect:(NXRect *)theRect	Provides how much of the Window fits on page
forPage:(int)page

- placePrintRect:(const NXRect *)aRect	Locates the printing rectangle on the page
offset:(NXPoint *)location

- (float)heightAdjustLimit	Returns how much of a page can go on next page

- (float)widthAdjustLimit	Returns how much of a page can go on next page

- beginPSOutput	Initializes the printing environment

- beginPrologueBBox:(const NXRect *)boundingBox
creationDate:(const char *)dateCreated	Writes the beginning of the prologue for a print job
createdBy:(const char *)anApplication
fonts:(const char *)fontNames
forWhom:(const char *)user
pages:(int)numPages
title:(const char *)aTitle

- endHeaderComments	Writes the Application Kit print package

- endPrologue	Writes the end of the prologue

- beginSetup	Writes the beginning of the document setup section

- endSetup	Writes the end of the document setup section

- beginPage:(int)ordinalNum	Writes a page separator
label:(const char *)aString
bBox:(const NXRect *)pageRect
fonts:(const char *)fontNames

- beginPageSetupRect:(const NXRect *)aRect	Writes the beginning of a page setup section
placement:(const NXPoint *)location

- endPageSetup	Writes the end of a page setup section

- endPage	Writes the end of a page description

- beginTrailer	Writes the beginning of trailer for the print job

- endTrailer	Writes the end of the trailer

- endPSOutput	Finishes the printing job

Archiving

- read:(NXTypedStream *)stream	Reads the Window from the typed stream

- write:(NXTypedStream *)stream	Writes the Window to the typed stream

- awake	Redisplays and reinitializes the Window

Assigning a Delegate

- setDelegate:anObject	Makes anObject the Window's delegate

- delegate	Returns the Window's delegate

Implemented by the Delegate

- windowWillClose:sender	Notifies delegate that the Window is about to close

- windowWillReturnFieldEditor:sender	Lets delegate provide another Text object
toObject:client

- windowWillResize:sender	Lets delegate constrain resizing
toSize:(NXSize *)frameSize

- windowDidResize:sender	Notifies delegate that the Window was resized

- windowDidExpose:sender	Notifies delegate that the Window was exposed

- windowWillMove:sender	Notifies delegate that the Window will move

- windowDidMove:sender	Notifies delegate that the Window did move

- windowDidChangeScreen:sender	Notifies delegate that  the Window changed screens

- windowDidBecomeKey:sender	Notifies delegate that  the Window is the key window

- windowDidResignKey:sender	Notifies delegate that  the Window isn't the key window

- windowDidBecomeMain:sender	Notifies delegate that  the Window is the main window

- windowDidResignMain:sender	Notifies delegate that  the Window isn't the main window

- windowWillMiniaturize:sender	Notifies delegate that  the Window will miniaturized
toMiniwindow:miniwindow

- windowDidMiniaturize:sender	Notifies delegate that  the Window was miniaturized

- windowDidDeminiaturize:sender	Notifies delegate that  the Window was restored to screen

- windowDidUpdate:sender	Notifies delegate that  the Window was updated